package com.xikeda.service.imp;

import com.xikeda.dao.QueryDetails;
import com.xikeda.model.UsernaadTable;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author Xiao Linqing
 * @date 2020/6/6 18:49
 */
@Service
public class QueryDetailsService {
    @Resource
    private QueryDetails queryDetails;
    public List Finduser(String a){
        List<UsernaadTable> list=new ArrayList<UsernaadTable>();
        try{
            list=this.queryDetails.Finduser(a);
        }catch(Exception e){
            e.printStackTrace();
        }
        return list;
    }
}
